import QtQuick 1.0

Item {
    id: root
    width: 360
    height: 640

    property string title: "Title"
    property string content: "Content..."

    Rectangle {
        anchors.fill: parent
        color: "#666666"
        opacity: 0.8
    }

    Rectangle {
        anchors.fill: parent
        anchors.leftMargin: 8
        anchors.rightMargin: 8
        anchors.topMargin: 60
        anchors.bottomMargin: 60
        color: "#999999"
        Column {
            anchors.fill: parent
            anchors.topMargin: 8
            Text {
                width: parent.width; height: 30
                x: 8
                text: root.title
                font.pixelSize: 22
                color: "#e5e5e5"
            }
            Rectangle {
                width: parent.width; height: parent.height-92
                color: "#e5e5e5"
                Text {
                    text: root.content
                    anchors.fill: parent
                    anchors.margins: 8
                    wrapMode: Text.WordWrap
                    font.pixelSize: 20
                }
            }
        }
    }

}
